package org.cerberus.platform.client;

import org.cerberus.platform.component.annotations.FetchType;


public class ClientAttribute<E> {

	private String name;
	private FetchType type;
	private E value;
	
	public E fetch() throws PlatformException {
		return null;
	}
	
	public void fetchPartially(int startIndex, int endIndex) throws PlatformException {
	}
	
	public int size() {
		return 1;
	}
	
	public E getValue() {
		return value;
	}
	
	public void setValue(E value) {
		this.value = value;
	}
	
	public String getName() {
		return name;
	}
	
	public FetchType getType() {
		return type;
	}
	
	public ClientComponent getComponent() {
		return null;
	}
	
}
